/**
 * Created by liuchang on 2015/7/4.
 */

//colculate the days bettwen two dates
Date.prototype.diffDay = function (date) {
    return (this.getTime() - date.getTime()) / (24 * 60 * 60 * 1000);
}

